Subject: (fwd) Re: FAQ on HTML's? Newsgroups: wstd.html Lexicor@world.std.com (ysiu@lexicor.com) shaped the electrons to say: >I am sure this was asked before, I am looking for a general FAQ on HTML.., >and also perhaps VRML? CRIB SHEET for Hypertext Markup Language (HTML) by Steve Cunio latest update 27th April 1995 =============================================== (For latest copy of this file email me s.m.cunio@iti.salford.ac.uk with message HTMLCRIB.TXT) This document has been split into two parts. Beginner's - stuff to get you going and Advanced - which isn't really but what the heck I've called it that, covering mainly forms needing seperate scripts on a server ie stuff you can't provide with just HTML tags and also alignments etc. The document is designed so that you can cut and paste from it. Examples are given where appropriate of expected output. Text is placed where you would normally place the appropriate text as description and to show how the tags relate to the text. The items are arranged alphabeticaly. More often than not the tag is an abbreviation of the function which makes things easier! It might look like a lot to remember but it really is easy! Two items which don't really fall into either category are essential to web page creation these are:
header info usually the title rest of document here . These tags bind the document. The header is used by some search engines to locate relevant documents for the user before the rest of the document is downloaded. The body as described above surrounds all the other page details. The beauty of HTML tags is that if they are not supported by your browser then they will be ignored. It follows then that if some of the tags below don't work for you, you need to get hold of the latest Netscape browser, freely available from these URLs: ftp://ftp.netscape.com/netscape1.1b3/ ftp://src.doc.ic.ac.uk/packages/WWW/Netscapes/netscape1.1 I make no apologies for stipulating the use of Netscape. If any other browser ever surpasses it I will duly give out that address also. However, if you publish a browser, let me know and I'll include the address for it here. Cheers! +++++++++++++ + BEGINNERS + +++++++++++++ BLINKING TEXT BOLD TEXT bold text CARRIAGE RETURN / LINE BREAK type text here
Replace picture.gif with the name of the file of the graphic
you wish to display. Must be of gif or jpg type.
If the browser cannot display your picture then the contents
of the alternative ALT text will be displayed for the user.
Useful where relevance of image is important.
EMBED SOUND
text or picture jumps to and executes
a sound file when text or picture is clicked. Generally .wav
.au and .aif
EMBED VIDEO
text or picture jumps to and
executes a video file. Can also use .avi files.
HEADERS
type paragraph here (moves down a space before showing text) PRE FORMATTED TEXT
text here is at a set width. useful for columns etc.TABLES
| table header text | table header text | etc |
|---|---|---|
| defn text appears under first table header | defn text appears under second table header | etc |
| etc | etc | etc |
Aligns the picture with
the list blob at the middle or produces the preceeding or
next line of text at middle and alongside image.
(Subsequent lines will be printed below the image Mosaic.
Down the side Netscape)
Aligns the picture
with the list blob at the bottom or produces the preceeding
or next line of text at the bottom and alongside the image.
PARAGRAPHS
centered text here. PRE FORMATTED TEXT
Width set to number of characters.TABLES
This line resets the form. Beware though some values are
not affected! Useful that! The form is also ended. And you
thought it was difficult!
LINKS TO SPECIFIC PART OF DOCUMENT
text or picture
Jumps to another document or within the same document.
Searches document for the line:
and displays document from there on.
Great for contents list of same page or for jumping back to
the top of a document! Use whatever variable suits in place of
TOLINK.
ORDERED LIST
List items tagged A,B,C... Can also be roman or
indian numerals. Depicted I/1. The alpha and roman characters
can be of lower case type a/i.
SPECIAL CHARACTERS
These are not supported in earlier browsers but we are finding
that the special codes need not be typed for certain characters
in Netscape. Such characters being those below. The full set
of special codes including those of foreign languages (foreign
to English that is!) can be found at this URL:-
http://www.w3.org/hypertext/WWW/MarkUp/Entities.html
< Less than symbol <. Type this in where it appears in
any text. The semicolon must be typed.
> Greater than symbol >.
& Ampersand symbol &.
TABLES
To be effective and pleasing to the eye tables need to be
flexible. The following tag extensions allow you to place text
where you want it in their cells and put the table where you
want it on the screen. Examples using
also apply to
. Also see alignment above.
Here we can choose pixel width of border, distance between
cells, space within a cell and width of table on screen
respectively. This width can also be set to a number of
pixels.
header text
Specifies the width and height of a cell in numbers of cells.
This one will go across 2 columns and down 2 rows funnily
enough!
UNORDERED LIST
Sets the list blob to a disc. May also be set
to square or circle. May be changed for